package com.zmm.util.document.wjl;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 900045
 * @description:
 * @name IdoSelfGroup
 * @date By 2021-10-26 20:19:02
 */
@Data
public class IdoSelfGroup implements Serializable {
	private static final long serialVersionUID = 5012589774972901947L;

	private String            name;
	/** 请求前缀 */
	private String            pathPrefix;

	private List<IdoSelfItem> items;

	public void add(IdoSelfItem item) {
		if (items == null) {
			items = new ArrayList<>();
		}
		items.add(item);
	}

}
